/**
 * @author lijunhao
 * 2023/7/11 作业
 * @description TODO
 */
public class Qw {public static void main(String[] args) {
    int distance=0;
    int day=0;
    while(true){
        distance+=3;
        day++;
        if(distance>=7){
            System.out.println("第"+day+"天爬出来的");
            break;
        }
        distance-=2;

    }

}
}
